<?xml version="1.0" encoding="UTF-8"?>
<!--
  Created by IntelliJ IDEA.
  User: lukman
  Date: 6/21/11
  Time: 5:40 PM
-->
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
        >

<h:head>
    <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/css/main1.css"/>
</h:head>

<h:body>
    <div style="width: 30%; margin: 200px auto">
        <p:panel header="Login" footer="bfs">
            <form action="j_security_check" id="lgn">
                <h:panelGrid columns="2">
                    <h:outputText value="Username:"/>
                    <p:inputText id="j_username" validatorMessage="Specify your username"/>

                    <h:outputText value="Password"/>
                    <p:password id="j_password" minLength="6" feedback="false" validatorMessage="Specify your password"/>

                    <h:outputText/>
                    <h:commandButton type="submit" value="Login"/>
                </h:panelGrid>
            </form>
        </p:panel>
    </div>
</h:body>

</html>